
.tree_index{
  width: 100%;
  .tab_nav{
    padding-top: 12px;
    .nav-tabs{
      border-color: $theme_color;
      li.active{
        a{
          @include border-radius(0);
          border-color: $theme_color;
          border-bottom-color: transparent;
          border-top-width: 3px;
          &:hover,:focus,:active,:focus{
            border-color: $theme_color;
          }
        }
      }
    }
    .logo{
      padding-left: 15px;
      padding-right: 80px;
      img{
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 35px;
      }
    }
  }
  .tab_nav_l{
    height: 55px;
  }
  .tab_nav_m{
    height: 50px;
    .nav-tabs{
      padding-left: 5px;
      li{
        a{
          line-height: 1;
          &:hover{
            color: $theme_color;
          }
        }
      }
      li.active{
        a{
          border-bottom-color: #ffffff;
        }
      }
    }
  }
  .content{
    background: #4d4945;
    width: 100%;
    padding: 20px 0;
    @extend .clearfix;
    .profile_box{
      display: inline-block;
      width: auto;
      max-width: 320px;
      position: relative;
      background: #f7f7f7;
      padding: 15px 0 0 0;
      @extend .clearfix;
      .pack{
        display: inline-block;
        position: absolute;
        right: 15px;
        top: 5px;
      }
      .media{
        margin-top: 0;
        padding:0 15px ;
        .media-left{
          img{
            max-width: 80px;
          }
        }
        .media-body{
          button{
            line-height: 1.5;
          }
        }
      }
      .record,.homepage,.data,.genealogy{
        background: #ffffff;
        padding-bottom: 15px;
        margin-top: 0;
        @extend .clearfix;
      }
      .homepage{
        li{
          line-height: 26px;
          font-size: 12px;
        }
      }
      .data{
        padding-top: 10px;
        line-height: 25px;
      }
      .genealogy{
        padding-top: 15px;
        .zp{
          position: relative;
          .title{
            position: absolute;
            text-align: center;
            background: rgba(0,0,0,.4);
            line-height: 1.8;
            width: calc(100% - 30px);
            left: 15px;
            bottom: 0;
            color: #ffffff;
            @extend .text_oneline;
          }
        }
      }
      .record{
        li{
          .media{
            padding: 0;
          }
          .media-body{
            .twoline{
              @include text_moreline(2);
            }
          }
        }
      }
    }
    .option_box{
      width: auto;
      max-width: 320px;
      background: #ffffff;
      height: auto;
      .header{
        @extend .clearfix;
        line-height: 40px;
        background: $border_color ;
        padding: 0 15px;
      }
      .option_content{
        padding: 15px;
        .form-group{
          input{
            width: calc(100% - 100px);
            height: 28px;
            padding-left: 5px;
          }
          button{
            padding-left: 10px;
            padding-right: 10px;
            width: 90px;
            line-height: 26px;
          }
        }
        .share{
          padding-top: 10px;
          margin-top: 10px;
          border-top: 1px solid $border_color;
          .media-body{
            text-indent: 2em;
          }
        }
        .media{
          input{
            line-height: 26px;
            width: 100%;
            margin-bottom: 5px;
          }
        }
        .datum{
          .title{
            @extend .clearfix;
            line-height: 30px;
            border-bottom: 1px solid $border_color;
            margin-top: 10px;
          }
          .form-group{
            label,input,button{
              font-weight: normal;
              width: 100%;
            }
            select{
              width: 100%;
              line-height: 28px;
              height: 28px;
            }
          }
        }
      }
    }
  }
}
.location{
  line-height: 50px;
  padding: 0 15px;
  @extend .clearfix;
}
@media screen and (max-width: 768px){
  .location{
    line-height: 35px;
    padding: 10px 15px;
    .search_group{
      width: 100%;
      input{
        width: 100%;
        line-height: 2em;
      }
      i{
        top: 10px;
      }
    }
  }
}

